package wine.actions;

import wine.logic.entity.WInformation;
import wine.web.Struts2Support;

public class WInformationAction extends Struts2Support<WInformation> {

	private static final long serialVersionUID = 1L;

	//查询该栏目下是否还有内容
	public String findRecordByImoduleId(){
		jsonMap.clear();
		Integer cnt = getWInformationDao().findRecordByImoduleId(obj.getImoduleid());
		jsonMap.put("cnt", cnt);
		return SUCCESS;
	}
}
